package com.example.chepai_test.car.service;


import com.example.chepai_test.car.domain.Illegal;
import com.example.chepai_test.car.persistence.CpMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class CpService {


    @Autowired
    private CpMapper cpMapper;

    public List<Illegal> getAllIllegal() {
        return cpMapper.getAllIllegal();
    }
}
